]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
autorunManager: Connect to the correct notification signal
authorSebastian Keller <skeller@gnome.org>
Tue, 21 Apr 2026 11:59:51 +0000 (13:59 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 23 Apr 2026 13:24:25 +0000 (13:24 +0000)
The signal is called `activated`. This was triggering an error and
preventing the notification from showing up when connecting an USB
drive with autorun enabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4187>

js/ui/components/autorunManager.js

index 547db805d471114ff69e20e1894789872537fce9..8d220114c6128391992e37915d4aae6928d27679 100644 (file)
@@ -194,7 +194,7 @@ class AutorunDispatcher {
             title,
             body,
         });
-        notification.connect('activate', () => {
+        notification.connect('activated', () => {
             const app = Gio.app_info_get_default_for_type('inode/directory', false);
             startAppForMount(app, mount);
         });